Set up connections for the piloted control list selector (Connections tab)
To set up tags and expressions for the piloted control list selector
- In the Graphics Display editor, double-click the selector to open its Properties dialog box.
- Click the Connections tab.
- Assign a tag or expression to these controls:
Value
Assign a tag to this connection. When a display that includes a piloted control list selector object is opened, if the operator has control of the list, the application reads the Value connection to determine what state to select. The application does not read the Value connection at any other time. When the operator selects a valid state, if its Value connection is assigned, the state's value is written out to the Value connection.
If the list is remotely controlled, the Value connection does not necessarily have to be assigned. The remote controller uses the Indicator connection to select a state. If the selected state is a valid state, and if its Value connection is assigned, the state's value is written to the Value connection.
Tip: |
- If Write on enter is selected (in the General tab), the application does not write to the Value connection until the operator selects a state and presses Enter.
- If Write on enter is not selected (in the General tab), the application writes to the Value connection as soon as a state is selected. The Enter and Enter Handshake controls are ignored.
Indicator
Assign a tag or an expression to this read connection. When the list is remotely controlled, this connection is used to select a state in the list.
Remote Access
A read connection. This connection determines whether the operator or a remote controller selects states in the list. If you assign a tag or an expression to this connection, the object will be remotely controlled. If unassigned, the operator has control of the object.
Top Position
Assign a tag to this write connection. Whenever the list scrolls, the value of the top visible state in the list is written to this tag.
Visible States
Assign an array tag to this write connection. When the list scrolls, the values of the visible states are written to the array tag. The first visible state is written to the first element of the array tag, the second visible state is written to the second element of the array tag, and so on. The length of the array tag must be the same as the number of visible states the object has.
|
Tip: |
- You must use a direct reference for this assignment. You cannot use an HMI tag.
- The syntax of the array tag is dependant on the type of OPC data server the application is using.
- If you are using FactoryTalk Linx, you must use the syntax tagname,Larraylength (for example, [PLC5]N7:0,L5). Do not leave a space between the tag address and the length. For example, the address {[PLC5]N7:0, L5} will not work. {[PLC5]N7:0,L5} will work.
Enter
Assign a tag to this connection. This connection accepts values of 0 and 1 only. The connection determines how long the Enter key press is registered. Use this connection for Enter key handshaking.
Enter Handshake
Assign a tag or an expression to this connection. This connection resets the Enter connection, using the Handshake reset type property specified on the Timing tab. Use this connection for Enter key handshaking if you want the Enter connection to be reset when a value at the data source changes.
If you assign an expression, the application calculates the value of the expression and resets the Enter connection when the expression value meets the conditions of the Handshake reset type option.
|
See also
Create piloted control list selectors
Configure the piloted control list selector (General tab)
Set up states for the piloted control list selector (States tab)
Set up handshaking for the piloted control list selector (Timing tab)
Columns on the Connections tab of a graphic object's Properties dialog box